package cn.com.thingo.hyintelligent.di.component;

import android.app.Activity;


import cn.com.thingo.hyintelligent.di.module.FragmentModule;
import cn.com.thingo.hyintelligent.di.scope.FragmentScope;
import cn.com.thingo.hyintelligent.ui.fragment.ControlFragment;
import cn.com.thingo.hyintelligent.ui.fragment.MonitorFragment;
import cn.com.thingo.hyintelligent.ui.fragment.ScenesFragment;
import cn.com.thingo.hyintelligent.ui.fragment.control.ControlItemFragment;
import dagger.Component;

/**
 * Created by Administrator on 2017/10/10.
 */

@FragmentScope
@Component(dependencies = AppComponent.class, modules = FragmentModule.class)
public interface FragmentComponent {

    Activity getActivity();

    void inject(ControlFragment controlFragment);

    void inject(MonitorFragment monitorFragment);

    void inject(ScenesFragment scenesFragment);

    void inject(ControlItemFragment controlItemFragment);
}
